package com.zdya.combatdocuments.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zdya.combatdocuments.entity.Grade;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * * @author: bj
 * * @date: 2023/6/16
 * * @desc: 网络阶段mapper
 */
@Mapper
public interface GradeMapper extends BaseMapper<Grade> {
    @Select("select id, network_id, grade_time, grade_name, create_user, create_date from grade where Id > 0 order by create_date desc")
    List<Grade> findAll();
}
